@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
    font-size: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #ea2c32;
    background-image: url(../img/index/bg0.png);
    background-size: 100% 100%;
}

// 验证码页面
// 抽奖页面
// 音乐会中奖页面
.codeWeb,
.luckyDraw,
.musicWeb,
.niuWeb,
.kaWeb {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    .code_comtent,
    .lucky_comtent,
    .music_comtent,
    .niu_comtent,
    .ka_comtent {
        // 主体
        height: 90%;
        overflow: hidden;
        text-align: center;
        .com_1 {
            margin: 0.4rem auto 0;
            text-align: center;
            img {
                width: 5.32rem;
                height: 2.80rem;
            }
        }
        .com_2 {
            margin: 1.3rem auto 0;
            text-align: center;
            position: relative;
            width: 4rem;
            padding: 0.5rem 0;
            border-radius: 0.1rem;
            background: #fff;
            text-align: center;
            h3 {
                font-size: 0.5rem;
                color: #dc3539;
            }
            input {
                margin-top: 0.3rem;
                width: 2.3rem;
                height: 0.33rem;
                border: 0.01rem solid #dc3539;
                border-radius: 0.15rem;
                outline: none;
                padding-left: 0.15rem;
                font-size: 0.16rem;
                color: #dc3539;
                font-weight: bold;
                line-height: 0.33rem;
            }
            input::-webkit-input-placeholder {
                letter-spacing: 0.08rem;
            }
        }
        button {
            margin-top: 1rem;
            width: 1.84rem;
            height: 0.4rem;
            background: #fff;
            color: #dc3539;
            line-height: 0.4rem;
            text-align: center;
            font-size: 0.24rem;
            font-weight: bold;
            border: none;
            border-radius: 0.15rem;
            outline: none;
        }
    }
    .footer {
        // 底部logo
        height: 10%;
        text-align: center;
        img {
            height: 0.52rem;
            width: 2.22rem;
            margin-top: 0.25rem;
        }
    }
}

// 抽奖页面
.luckyDraw {
    display: none;
    .lucky_comtent {
        .luckyJi {
            //抽奖机器
            width: 5.15rem;
            height: 2.18rem;
            margin: 1.2rem auto 0;
            position: relative;
            background-image: url(../img/抽奖/抽奖机.png);
            background-size: 100% 100%;
            .prizeBox {
                width: 4.16rem;
                height: 1.83rem;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                ul {
                    width: 1.13rem;
                    height: 1.8rem;
                    overflow: hidden;
                    li {
                        width: 1.13rem;
                        height: 1.8rem;
                        position: relative;
                        transition: 1s;
                        img {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            width: 0.8rem;
                        }
                    }
                }
                .dong {
                    animation-name: myD;
                    animation-duration: 0.2S;
                    animation-iteration-count: infinite;
                    animation-timing-function: ease-in-out;
                    animation-play-state: running;
                }
                @keyframes myD {
                    0% {
                        transform: translateY(0%)
                    }
                    50% {
                        transform: translateY(-100%)
                    }
                    100% {
                        transform: translateY(-200%)
                    }
                }
                ul:nth-child(1) {
                    position: absolute;
                    top: 0;
                    left: 0;
                    li {}
                }
                ul:nth-child(2) {
                    position: absolute;
                    top: 0;
                    left: 50%;
                    transform: translate(-50%, 0);
                    li {
                        animation-delay: 0.05s
                    }
                }
                ul:nth-child(3) {
                    position: absolute;
                    top: 0;
                    right: 0;
                    li {
                        animation-delay: 0.1s
                    }
                }
            }
        }
    }
}

// 未中奖页面
.notWinning,
// 中奖领取成功
.receiveFoots,
// 只能抽一次
.onlyOne {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    .box,
    .recBox,
    .onlyBox {
        width: 4.25rem;
        padding: 0.8rem 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #e9dada;
        border-radius: 0.15rem;
        border: 1px solid #dc3539;
        p {
            font-size: 0.26rem;
            color: #dc3539;
            width: 3.7rem;
            margin: 0 auto;
        }
        h2 {
            text-align: center;
            font-size: 0.5rem;
            line-height: 0.7rem;
            color: #dc3539;
        }
        .i_down {
            position: absolute;
            top: -0.2rem;
            right: -0.2rem;
            width: 0.58rem;
            height: 0.58rem;
            border-radius: 50%;
            color: #fff;
            background: #dc3539;
            text-align: center;
            i {
                font-size: 0.25rem;
                line-height: 0.58rem;
            }
        }
    }
}

.onlyOne {
    background: rgba(255, 255, 255, 0.7);
    .onlyBox {
        background: #fff;
    }
}

// 音乐会中奖页面
.musicWeb,
    {
    display: none;
    .music_comtent,
        {
        .com_2 {
            padding: 0.2rem 0;
            h4 {
                font-size: 0.28rem;
                color: #dc3539;
            }
            img {
                width: 1.93rem;
                height: 0.9rem;
                margin-top: 0.27rem;
                box-shadow: 0px 5px 11px 0 #969394;
            }
            p {
                margin-top: 0.27rem;
                font-size: 0.2rem;
                color: #4d4d4d;
                font-weight: bold;
                letter-spacing: 0.02rem;
            }
        }
        button {
            margin-top: 0.3rem;
        }
        >p {
            font-size: 0.28rem;
            color: #fff;
            letter-spacing: 0.07rem;
            font-weight: bold;
            margin-top: 0.35rem;
        }
    }
}

// 公仔
.niuWeb {
    display: none;
    .niu_comtent,
        {
        .com_2 {
            padding: 0.2rem 0;
            h4 {
                font-size: 0.28rem;
                color: #dc3539;
            }
            img {
                width: 1.2rem;
                margin-top: 0.27rem;
            }
            >p {
                width: 3.19rem;
                margin: 0.27rem auto 0;
                font-size: 0.2rem;
                color: #4d4d4d;
                font-weight: bold;
                letter-spacing: 0.02rem;
            }
        }
        button {
            margin-top: 0.3rem;
        }
        >p {
            font-size: 0.28rem;
            color: #fff;
            letter-spacing: 0.07rem;
            font-weight: bold;
            margin-top: 0.35rem;
        }
    }
}

// 卡片
.kaWeb,
    {
    display: none;
    .ka_comtent,
        {
        .com_2 {
            padding: 0.2rem 0;
            h4 {
                font-size: 0.28rem;
                color: #dc3539;
            }
            img {
                width: 1.2rem;
                margin-top: 0.27rem;
                box-shadow: 0px 5px 11px 0 #969394;
            }
            >p {
                width: 3.19rem;
                margin: 0.27rem auto 0;
                font-size: 0.2rem;
                color: #4d4d4d;
                font-weight: bold;
                letter-spacing: 0.02rem;
            }
        }
        button {
            margin-top: 0.3rem;
        }
        >p {
            font-size: 0.28rem;
            color: #fff;
            letter-spacing: 0.07rem;
            font-weight: bold;
            margin-top: 0.35rem;
        }
    }
}